package mipo.top.admin.service;

import mipo.top.base.util.PageUtil;
import mipo.top.admin.domain.Department;
import mipo.top.admin.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentService {
    List<Department> findall();

    Department findByid(Long id);

    void insert(Department department);

    void updata(Department department);

    void delete(Long id);

    PageUtil<Department> queryDate(DepartmentQuery query);

    void bacthDel(List<Long> ids);

    List<Department> deptTree();
}
